.PHONY:all
all:write read

write:write.cc
	g++ -o $@ $^ -std=c++11
read:read.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -rf write read